#!/bin/bash
# Copyrignt (c) xuzeshui.com. All Rights Reserved.
# Author: Zeshui Xu<i@xuzeshui.com>
# Created Time: 2015-11-11 20:30:01
# Last Modified: 2016-04-04 16:17:32
# File Name: user-register-mobile.sh
# Description: 
source ./gl.sh
vuid="72DC04CB-D201-4AAE-88B9-5B064444975A"
sign=`echo -n "appkey${appkey}time${reqTime}vuid${vuid}passport.app.doubimeizhi.com" | md5sum | awk '{print $1}'`

curl -v -d '{"invitation": "TkPer","nick_name": "我是水哥", "mobile": "18603058017", "captcha": "110189", "password": "123456"}' "http://${host}/v1/user/register/mobile?appkey=${appkey}&time=${reqTime}&sign=${sign}&vuid=${vuid}"
